package pattern.config;

import lombok.Data;
import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 阿里云短信配置
 */
@Component
@Data
public class BaseSmsConfig {

    @Getter
    @Value(value = "${sms.mock}")
    private Boolean isMock;

    @Getter
    @Value(value = "${sms.platform}")
    private String platform;

}
